#define _CRT_SECURE_NO_WARNING
#include<stdio.h>
#include"xh.h"
int main() {
	stack S=creatSqstack();
	printf("\n--------------------push--------------\n");
	push(S, 1);
	push(S, 2);
	push(S, 3);
	showstack(S);
	printf("\n--------------------top&&pop--------------\n");
	ElementType x=top(S);
	printf("%d\n", x);
	pop(S);
	ElementType y = top(S);
	printf("%d\n", y);
	return 0;
}